package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CChattelMortgageDetailInfoDao;
import gov.ccswj.modules.ccbusiness.entity.CChattelMortgageDetailInfoEntity;
import gov.ccswj.modules.ccbusiness.service.CChattelMortgageDetailInfoService;



@Service("cChattelMortgageDetailInfoService")
public class CChattelMortgageDetailInfoServiceImpl implements CChattelMortgageDetailInfoService {
	@Autowired
	private CChattelMortgageDetailInfoDao cChattelMortgageDetailInfoDao;
	
	@Override
	public CChattelMortgageDetailInfoEntity queryObject(Integer id){
		return cChattelMortgageDetailInfoDao.queryObject(id);
	}
	
	@Override
	public List<CChattelMortgageDetailInfoEntity> queryList(Map<String, Object> map){
		return cChattelMortgageDetailInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cChattelMortgageDetailInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CChattelMortgageDetailInfoEntity cChattelMortgageDetailInfo){
		cChattelMortgageDetailInfoDao.save(cChattelMortgageDetailInfo);
	}
	
	@Override
	public void update(CChattelMortgageDetailInfoEntity cChattelMortgageDetailInfo){
		cChattelMortgageDetailInfoDao.update(cChattelMortgageDetailInfo);
	}
	
	@Override
	public void delete(Integer id){
		cChattelMortgageDetailInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cChattelMortgageDetailInfoDao.deleteBatch(ids);
	}
	
}
